package com.giraffe.device.pojo.enums;

/**
 * @Author ldx
 * @Date 2024/02/21 16:42
 **/
public enum DeviceStatusEnum {

    UNKNOWN("unknown","未知"),
    ONLINE("online", "在线"),
    OFFLINE("offline", "离线"),
    ;

    private String code;
    private String name;

    DeviceStatusEnum(String code, String name) {
        this.code = code;
        this.name = name;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
